myApp.controller('cleanCacheController',function($scope,toaster,$serSystem){
    var ctrl = this;
    ctrl.vm = {
        clickS:function(){
            $serSystem.cleanCache({

            }).then(function(res){
                if(res.code==1){
                    toaster.success('提示',res.message);
                }else{
                    toaster.info('提示',res.message);
                }
            })
        }
    };
    var vm ={
        init:function(){

        }
    };
    vm.init();
});